﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Whoever.Website.UserControls.Services
{
    public partial class ServiceDescription : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        #region PROPERTIES

        public String ServiceTitle
        {
            get { return strongServiceTitle.InnerText; }
            set { strongServiceTitle.InnerText = value; }
        }

        public String ServiceDescriptions
        {
            get { return pServiceDescription.InnerText; }
            set { pServiceDescription.InnerText = value; }
        }

        [UrlProperty]
        public String ImageUrl
        {
            get { return ImageService.ImageUrl; }
            set { ImageService.ImageUrl = value; }
        }

        [UrlProperty]
        public String ButtonUrl
        {
            get { return ButtonService.PostBackUrl; }
            set { ButtonService.PostBackUrl = value; }
        }

        public String ButtonText
        {
            get { return ButtonService.Text; }
            set { ButtonService.Text = value; }
        }

        #endregion

    }
}